home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- References: <DLHytp.3GA@uns.bris.ac.uk>
- X-Newsreader: MicroDot 1.8
- Mime-version: 1.0
- Content-Type: text/plain; charset=iso-8859-1
- Content-Transfer-encoding: 8BIT
- Path: news.tng.oche.de!tomate.tng.oche.de
- X-Gateway: ZCONNECT UE utomate.tng.oche.de.tomate.tng.oche.de [PolyNet zTOr V4.901 Serie: "light"]
- Subject: Re: C AppIcon Programming.
- Message-ID: <xE3boMD1A7aRz1@0dietmar.tomate.tng.oche.de>
- Date: Sat, 3 Feb 96 13:53:28 GMT
- Organization: Developer
- X-ZC-TELEFON: +49-(0)241/81665
- X-ZC-POST: Mies-v-d-Rohe-Str.31 D-52074 Aachen
- From: DIETMAR@TOMATE.TNG.OCHE.DE (Dietmar Eilert)
-
- jw4505@irix.bris.ac.uk (J. Warren) schrieb am 20.01.1996:
-
- JW> I have recently started to dable in 'C' programming, using the coverdisk version of Dice,
- JW> and have been trying to get an AppIcon to appear on my A1200. The problem is that as soon
- JW> as my program get to opening the AppIcon it guru's. I know the disk object part works
- JW> because I've copied a diskicon to RamDisk: and it poped up, anyone got any suggestions or
- JW> better yet code? I would post mine but I'm at Uni and it isn't, ta in advance,
-
- DICE bug if you are using a pre-3.0-version; try the following lines (saved as
- appicon.a):
-
- ; Replacement for _AddAppIconA
-
- xdef _AddAppIconA
- xref _WorkbenchBase
- xref _LVOAddAppIconA
-
- SECTION AddAppIconA,CODE
-
- _AddAppIconA
- movem.l a2-a4/a6,-(a7)
- move.l _WorkbenchBase(a4),a6
- movem.l 20(a7),d0-d1/a0-a4
- jsr _LVOAddAppIconA(a6)
- movem.l (a7)+,a2-a4/a6
- rts
-
- END
-
- * In a random sampling of GoldED users, 100% said that they'd rather use
- GoldED than be publically flogged, eaten alive by pirhanas, OR watch
- SeaQuest DSV.
-
- /\/\ GED Support
- /\/\ FAX +49-(0)241-81665
- /\/\ FAX +49-(0)241-81665-(Pause)-22
-
- -- MicroDot 1.8
-
-